
 
 F u n c t i o n :   u p d a t e D i s a b l e d ( d o m E l e m e n t A r r a y O r D C ) 
 
 
 
 D e s c r i p t i o n :   T r a c k s   a l l   s p e c i f i e d   e l e m e n t s   t o   p r e v e n t   t h e i r   a s s o c i a t e d   D C   o b j e c t s   f r o m   r e n d e r i n g   w h e n   a c t i v a t e d . 
 
 
 
 R e t u r n s :   O r i g i n a l   O b j e c t ,   o r   $ A   o b j e c t   i f   c h a i n e d . 
 
 
 
 N o t e :   T h e   u p d a t e D i s a b l e d ( )   f u n c t i o n   i s   m e a n t   t o   a u t o m a t i c a l l y   s e t   o r   u n s e t   t h e   d i s a b l e d   f l a g   o n   a s s o c i a t e d   D C   o b j e c t s   f o r   t r a c k i n g ;   i t   w i l l   n o t   c h a n g e   t h e   d i s a b l e d   s t a t e   o n   a n y   a c t i v e   e l e m e n t s .   T o   c h a n g e   t h e   d i s a b l e d   s t a t e   o f   1   o r   m o r e   a c t i v e   e l e m e n t s ,   u s e   t h e   s e t D i s a b l e d ( )   f u n c t i o n . 
 
 
 
 E x a m p l e : 
 
 
 
 / /   U p d a t e   t h e   d i s a b l e d   s t a t e   o f   a n   e l e m e n t . 
 
 $ A . u p d a t e D i s a b l e d ( d o m E l e m e n t ) ; 
 
 
 
 / /   U p d a t e   t h e   d i s a b l e d   s t a t e   o f   a n   a r r a y   o f   e l e m e n t s . 
 
 $ A . u p d a t e D i s a b l e d ( d o m E l e m e n t A r r a y ) ; 
 
 
 
 / /   U p d a t e   t h e   d i s a b l e d   s t a t e   o f   a n   a r r a y   o f   D C   o b j e c t s . 
 
 $ A . u p d a t e D i s a b l e d ( d c O b j e c t A r r a y ) ; 
 
 
 
 / /   U p d a t e   t h e   d i s a b l e d   s t a t e   o f   a l l   e l e m e n t s   i n   t h e   D O M   t h a t   i n c l u d e   a r i a - d i s a b l e d = " t r u e " . 
 
 $ A . u p d a t e D i s a b l e d ( ) ; 
 
 